Meaning of the word "though honey is sweet, do not lick it off a briar" in English

What does "though honey is sweet, do not lick it off a briar" mean in English? Explore the meaning, pronunciation, and specific usage of this word with Lingoland.

though honey is sweet, do not lick it off a briar

US /ðoʊ ˈhʌni ɪz swiːt, duː nɑːt lɪk ɪt ɔːf ə ˈbraɪər/
UK /ðəʊ ˈhʌni ɪz swiːt, duː nɒt lɪk ɪt ɒf ə ˈbraɪə/
"though honey is sweet, do not lick it off a briar" picture

Idiom

even if something is attractive or desirable, it is not worth obtaining if it involves too much risk or pain

Example:
He wanted the high-paying job despite the toxic environment, but I reminded him that though honey is sweet, do not lick it off a briar.
Investing in that shady scheme might seem profitable, but remember: though honey is sweet, do not lick it off a briar.